package com.iring.dao.vos;

import org.springframework.stereotype.Component;

import com.iring.domain.vos.pay.PayReturn;
import com.iring.domain.vos.pay.VosPay;


/**
 * @author wanggan
 */
@Component
public class PayReturnDao extends BaseVosDao<PayReturn> {

    private static final String PAY = "Pay";

    /**
     * 获取充值返回结果
     *
     * @param vosPay
     *            支付参数
     * @return 支付返回结果
     */
    public PayReturn createVosPay(VosPay vosPay) {
        return convertToObject(util.postData(PAY, vosPay), PayReturn.class);
    }

}
